home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / program / esyrxv32.lha / EasyRexx / Source / Designer_AREXX.h < prev   
C/C++ Source or Header  |  1995-10-18  |  1KB  |  46 lines

  1. /*
  2.  *    File:                    Designer_AREXX.h
  3.  *    Description:    
  4.  *
  5.  *    (C) 1995, Ketil Hunn
  6.  *
  7.  */
  8.  
  9. #ifndef AREXX_INTERFACE
  10. #define AREXX_INTERFACE
  11.  
  12. /*** INCLUDES ************************************************************************/
  13. #include <libraries/easyrexx.h>
  14.  
  15. /*** DEFINES *************************************************************************/
  16. #define    DEFAULT_PROMPT    "AREXX> "
  17. #define    MAXMACROS                10
  18.  
  19. /*** GLOBALS *************************************************************************/
  20. extern struct Library                        *EasyRexxBase;
  21. extern struct ARexxContext            *context;
  22. extern struct ARexxCommandTable commandTable[];
  23. extern BYTE                                            record;
  24. extern ARexxMacro                                macro;
  25.  
  26. struct Macro
  27. {
  28.     UBYTE macrokey[2],        /* menu shortcut key    */
  29.                 name[108],            /* macro name.  only 30 is used today, but it may be
  30.                                                 ** extended in the future...
  31.                                                 */
  32.                 fullname[108];    /* full macro name        */
  33. };
  34.  
  35. extern struct Macro macros[MAXMACROS];
  36.  
  37. /*** PROTOTYPES **********************************************************************/
  38. void myHandleARexx(struct ARexxContext *c);
  39. LONG ReadMacros(struct Macro *macros, UBYTE *file);
  40. LONG OpenMacros(struct Macro *macros, UBYTE *file);
  41. LONG SaveMacros(struct Macro *macros, UBYTE *file);
  42. LONG SaveMacrosAs(struct Macro *macros, UBYTE *file);
  43.  
  44. LONG KeepContents(void);
  45. __asm UBYTE *ARexxInput(register __a0 UBYTE *string);
  46.